attribute vec4 aPosition;
attribute vec2 aCoordinate;
attribute vec4 aColor;
uniform float aPointSize;
uniform mat4 aMatrix;

varying vec2 vCoordinate;
varying vec4 vColor;
varying vec4 vPosition;

void main(){
    gl_Position = aMatrix * aPosition;
    gl_PointSize = aPointSize;
    vPosition = aPosition;
    vColor = aColor;
    vCoordinate = aCoordinate;
}